/*
 * @Author: xuetao 3168581151@qq.com
 * @Date: 2025-02-14
 * @LastEditors: xuetao 3168581151@qq.com
 * @LastEditTime: 2025-02-15
 * @Description: 列表功能项数据
 */
import 'package:flutter/material.dart';

class FunItem {
  // title
  final String title;
  // leading
  final IconData? icon;
  // 图标颜色
  final Color? iconColor;
  // 背景颜色
  final Color? backgroundColor;
  // tralling
  final IconData? tralling;

  final String? trallingText;

  // 点击事件
  final VoidCallback? onTap;

  FunItem({
    required this.title,
    this.icon,
    this.iconColor,
    this.backgroundColor,
    this.tralling,
    this.trallingText,
    this.onTap,
  });
}
